package com.wcards.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.wcards.entity.OrderInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/*
* 小曹
* */
@Data
public class OrderInfoDTO extends OrderInfo {
    @ApiModelProperty("对象编号（若是商品售卖则是订单编号，若是爱心捐赠则是动物编号）")
    private Integer objectNumbers;
    @ApiModelProperty("收入类型（分为商品售卖和爱心捐赠）")
    private String incomeType;
    @ApiModelProperty("交易时间")
    private LocalDateTime transactionTime;
    @TableId("income_numbers")
    @ApiModelProperty("收入编号")
    private Integer incomeNumbers;
    @ApiModelProperty("捐赠物品")
    private String transactionGoods;
}
